package com.zfast.config.mapper;

import com.zfast.config.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Classname TreeMenuMapper
 * @Description None
 * @Date 2019/7/17 9:00
 * @Created by WDD
 */
public interface TreeMenuMapper {
    List<Menu> selectByAdminId(String id);

    void delRolePermission(List<String> ids);

    List<Menu> selectByRoleId(String id);

    int updateRolePermission(@Param("ids") List<String> ids, @Param("id") String id);

    void delRolePermissionByRid(String id);

    List<String> selectByUserName(String username);

    List<String> selectURLAll();

}
